/* 
    Created on : 11/03/2014, 10:53:20
    Author     : Bruno Oliveira <321.bruno@gmail.com>
*/

@color-default: #2f6779;
@color-default-hover: #65afc7;
@color-white: #fff;
@color-black: #000;

.transition (@property: all, @duration:0.2s, @ease:ease-out) {
    -webkit-transition: @property @duration @ease;
    -moz-transition: @property @duration @ease;
    -o-transition: @property @duration @ease;
    transition: @property @duration @ease;
}

.rounded(@top-left: 5px, @top-right:5px, @bottom-right:5px, @bottom-left:5px){
    border-radius: @top-left @top-right @bottom-right @bottom-left;
    -webkit-border-radius: @top-left @top-right @bottom-right @bottom-left;
    -moz-border-radius: @top-left @top-right @bottom-right @bottom-left;
}

.font-Abel(@font-size:14px, @font-style:normal, @font-weight:normal){
    font-family: 'Abel';
    font-size: @font-size;
    font-style: @font-style;
    font-weight: @font-weight;
}

.font-Lato(@font-size:14px, @font-style:normal, @font-weight:normal){
    font-family: 'Lato';
    font-size: @font-size;
    font-style: @font-style;
    font-weight: @font-weight;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body{
    background: @color-black url(../img/background.jpg);
    .font-Abel();
}

a{
    color: @color-default;
    cursor: pointer;
    font-weight: bold;
    .transition(all, 0.3s);
    &:hover{
        color: @color-default-hover;
    }
}

.conteudo{
    background: @color-white;
    margin-top: 10px;
    padding: 10px;
    box-shadow: 0px 4px 8px 5px rgba(47, 103, 121, 0.3);
    .rounded(5px, 5px, 5px, 5px);
    .font-Lato();
}

header.navbar{
    min-height: 115px;
    .logo{
        height: 130px;
    }
    .navbar-toggle{
        border-color: #fafafa;
        .icon-bar {
            background-color: @color-white;
        }
        &:hover{
            background-color: @color-default;
        }
        &:focus{
            background-color: @color-default;
        }
    }
    #menu{
        margin-top: 35px;
        li{
            position: relative;           
            a{
                .font-Abel(18px);
                color: @color-white;
                &:hover{
                    color: @color-default;
                    background: none;
                }
            }
            &.active:after{
                position: absolute;
                bottom: 0;
                left: 40%;
                width: 0;
                height: 0;
                margin-left: -5px;
                vertical-align: middle;
                content: " ";
                border-right: 5px solid transparent;
                border-bottom: 5px solid;
                border-left: 5px solid transparent;
                color: @color-white;
            }
        }

    }
}

.blog-main{
    article{
        .row{
            margin-left: -5px;
        }
        .thumb{
            /*width: 180px;
            margin-right: 30px;
            float: left;*/
        }
        header{
            h1{
                .font-Abel(38px);
                a{
                    color: @color-default;                    
                    &:hover{
                        color: @color-default-hover;
                        text-decoration: none;
                    }
                }
            }
            p{
                font-style: italic;
                font-size: 12px;
            }
        }        
    }
}

footer{
    margin: 10px 0;
    .copyright{        
        color: @color-white;
        line-height: 52px;
    }
    .socials{
        .navbar-brand{
            padding: 5px;
        }
        img{
            .transition(all, 0.3s);    
            &:hover{
                -webkit-transform: scale(1.5);
                -moz-transform: scale(1.1);
                -o-transform: scale(1.1);
                transform: scale(1.1);
            }
        }
    }
}

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

@media (max-width: 768px) {
    #menu{
        margin-top:0;
        background: @color-white;
        li{
            display: table;            
            a{                
                font-size: 18px!important;
                color: @color-default!important;                
                &:hover{
                    background: none;
                    color: @color-default-hover;
                }
                &.active:after{
                    display: none!important;
                }
            }
        }
    }
}